﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Runtime.InteropServices;

namespace ShopClock
{
    public partial class f_Login : Form
    {
        private string[] result = new string[2];
        [DllImport("dwmapi.dll", PreserveSig = false)]
        public static extern void DwmExtendFrameIntoClientArea(IntPtr hWnd, MARGINS pMargins);
        public class MARGINS
        {
            public int cxLeftWidth, cxRightWidth, cyTopHeight, cyBottomHeight;
        }
        public string[] getResult()
        {
            return this.result;
        }

        public f_Login()
        {
            InitializeComponent();
            this.BackColor = Color.Black;
            MARGINS m = new MARGINS();
            m.cxLeftWidth = -10;
            m.cxRightWidth = -10;
            m.cyBottomHeight = -10;
            m.cyTopHeight = -10;
            DwmExtendFrameIntoClientArea(this.Handle, m);

        }
    }
}
